package com.alibaba.algo.cooperation.usercomponent.vo.req.user;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;

/**
 * @author: niechanggang
 * @date:2021/3/19 11:10
 * @description:
 */
@Data
@ApiModel
public class UpdatePositionRequestVO {

    /**
     * 岗位主键
     */
    @NotNull(message = "id不允许为空!")
    @ApiModelProperty(value = "主键", required = true)
    private Long id;

    /**
     * 是否主岗  0否 1是
     */
    @ApiModelProperty(value = "是否主岗  0否 1是")
    private Long isPrimary;


    /**
     * 岗位排序
     */
    @ApiModelProperty(value = "岗位排序")
    private Long orgSort;

    /**
     * 岗位名称
     */
    @ApiModelProperty(value = "岗位名称")
    private String name;


    /**
     * 数据来源
     */
    @ApiModelProperty(value = "数据来源")
    private String dataSource;
    /**
     * 描述
     */
    @ApiModelProperty(value = "描述")

    private String description;
    /**
     * 岗位等级名称
     */
    @ApiModelProperty(value = "岗位等级名称")

    private String posLevel;
    /**
     * 岗位等级编码
     */
    @ApiModelProperty(value = "岗位等级编码")

    private String posLevelCode;
}
